package com.gitee.yangtianle.redisson.seckill.spring.boot.autoautoconfigure;

import org.springframework.context.annotation.AdviceMode;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * @author tianle.ytl
 * @date 2018/9/19
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import(CurrentLimitingConfigurationSelector.class)
public @interface EnableCurrentLimiting {

    AdviceMode mode() default AdviceMode.PROXY;
}
